<template>
  <div>
    sucess
    <button @click="hadleClick">点击改变show的值</button>
  </div>
</template>


<script>
export default {
  methods:{
    hadleClick:function(){
      this.$store.state.dialog.show = !this.$store.state.dialog.show
    }
  }
  
}
</script>


<style scoped>

</style>
